<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .big{
            width: 1200px;
            height: 30px;
            background: #eeeeee;
            margin: 20px auto 0;
            cursor: pointer;
            line-height: 30px;
            position: relative;
            color: #777;
        }
        .big #top li{
            float: left;
            margin-right: 10px;
        }
        .big #top{
            float: right;
            list-style-type: none;
        }
        #bottem{
            list-style-type: none;
            width: 105px;
            background: #eee;
            position: absolute;
            left:1025px;
            top:50px;
            line-height: 30px;
            text-align: center;
            color: #777;
            display: none;
            z-index: 2;
            cursor: pointer;
        }
        #bangli{
            color: deeppink;
        }
        #photo {
            width: 1200px;
            margin: 0 auto;
            position: relative;
        }
        #photo #close{
            color: #999999;
            position: absolute;
            right: 0;
            top: 0;
            cursor: pointer;
        }
    </style>
</head>
<body>
<div class="big">
    <ul id="top">
        <li id="bangli">我的邦里账户</li>
        <li>网站地图</li>
        <li>关注我们</li>
    </ul>
</div>
<ul id="bottem">
    <li>我的邦里账户</li>
    <li>我的邦里账户</li>
    <li>我的邦里账户</li>
    <li>我的邦里账户</li>
    <li>我的邦里账户</li>
</ul>
<div id="photo">
    <a href="#"><img src="img/QQ图片20171213110537.jpg" alt=""></a>
    <span id="close">关闭</span>
</div>
</body>
</html>
<script>
    var obangli = document.getElementById("bangli");
    var obottem = document.getElementById("bottem");
    var oclose = document.getElementById("close");
    var ophoto = document.getElementById("photo")
    obangli.onmouseover=function(){
        obottem.style.display="block"
    }
    obangli.onmouseout=function(){
        obottem.style.display="none"
    }
    obottem.onmouseover=function(){
        obottem.style.display="block"
    }
    obottem.onmouseout=function(){
        obottem.style.display="none"
    }
    oclose.onclick=function(){
        ophoto.style.display="none"
    }
</script>